package dao;

import java.util.List;

import javax.ejb.Remote;

import dto.CategoryDTO;
import dto.QuestionDTO;
import dto.QuestionValidDTO;

@Remote
public interface QuestionDAORemote {

	public List<QuestionValidDTO> getAllQuestionsForValidation(int catID);

	public List<QuestionDTO> getAllValidQuestions();

	public int changeQuestionValid(int qID);

	public List<QuestionDTO> getAllValidQuestionsByCategory(CategoryDTO cat);

	public void addQuestion(QuestionDTO questionDTO, int categID) throws Exception;

	public int removeQuestionFromDatabase(QuestionValidDTO qDTO);

}
